/* GitHub Dark主题 */
.markdown-theme-github-dark {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #c9d1d9;
  background-color: #0d1117;
}

.markdown-theme-github-dark h1 {
  font-size: 2em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #21262d;
  padding-bottom: 0.3em;
  color: #e6edf3;
}

.markdown-theme-github-dark h2 {
  font-size: 1.5em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #21262d;
  padding-bottom: 0.3em;
  color: #e6edf3;
}

.markdown-theme-github-dark h3 {
  font-size: 1.25em;
  margin-bottom: 16px;
  font-weight: 600;
  color: #e6edf3;
}

.markdown-theme-github-dark p {
  margin-bottom: 16px;
}

.markdown-theme-github-dark a {
  color: #58a6ff;
  text-decoration: none;
}

.markdown-theme-github-dark a:hover {
  text-decoration: underline;
}

.markdown-theme-github-dark code {
  background-color: rgba(110, 118, 129, 0.4);
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  color: #c9d1d9;
}

.markdown-theme-github-dark pre {
  background-color: #161b22;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
}

.markdown-theme-github-dark blockquote {
  padding: 0 1em;
  color: #8b949e;
  border-left: 0.25em solid #30363d;
  margin-bottom: 16px;
}

.markdown-theme-github-dark table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

.markdown-theme-github-dark table th,
.markdown-theme-github-dark table td {
  padding: 6px 13px;
  border: 1px solid #30363d;
}

.markdown-theme-github-dark table tr {
  background-color: #0d1117;
  border-top: 1px solid #30363d;
}

.markdown-theme-github-dark table tr:nth-child(2n) {
  background-color: #161b22;
}

.markdown-theme-github-dark img {
  max-width: 100%;
  box-sizing: content-box;
  background-color: #0d1117;
}

.markdown-theme-github-dark hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #30363d;
  border: 0;
}

/* 亮色模式 */
.markdown-theme-github-dark.light-mode {
  color: #24292e;
  background-color: #ffffff;
}

.markdown-theme-github-dark.light-mode h1,
.markdown-theme-github-dark.light-mode h2 {
  border-bottom-color: #eaecef;
  color: #24292e;
}

.markdown-theme-github-dark.light-mode h3 {
  color: #24292e;
}

.markdown-theme-github-dark.light-mode a {
  color: #0366d6;
}

.markdown-theme-github-dark.light-mode code {
  background-color: rgba(27, 31, 35, 0.05);
  color: #24292e;
}

.markdown-theme-github-dark.light-mode pre {
  background-color: #f6f8fa;
}

.markdown-theme-github-dark.light-mode blockquote {
  color: #6a737d;
  border-left-color: #dfe2e5;
}

.markdown-theme-github-dark.light-mode table tr {
  background-color: #fff;
  border-top-color: #c6cbd1;
}

.markdown-theme-github-dark.light-mode table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

.markdown-theme-github-dark.light-mode table th,
.markdown-theme-github-dark.light-mode table td {
  border-color: #dfe2e5;
}

.markdown-theme-github-dark.light-mode img {
  background-color: #fff;
}

.markdown-theme-github-dark.light-mode hr {
  background-color: #e1e4e8;
} 